import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '发票类型',
    align: "center",
    dataIndex: 'invoiceType'
  },
  {
    title: '统一社会信用代码',
    align: "center",
    dataIndex: 'creditDentifier'
  },

  {
    title: '发票对象名',
    align: "center",
    dataIndex: 'invoiceObjectName'
  },
  {
    title: '发票金额',
    align: "center",
    dataIndex: 'invoiceAmount'
  },
  {
    title: '产品类别',
    align: "center",
    dataIndex: 'productType'
  },
  {
    title: '产品内容',
    align: "center",
    dataIndex: 'productName'
  },

  {
    title: '开票人',
    align: "center",
    dataIndex: 'invoiceCreater'
  },
  {
    title: '逻辑删除',
    align: "center",
    dataIndex: 'isDeleted'
  },
];

// 高级查询数据
export const superQuerySchema = {
  invoiceType: {title: '发票类型',order: 0,view: 'text', type: 'string',},
  creditDentifier: {title: '统一社会信用代码',order: 1,view: 'text', type: 'string',},

  invoiceObjectName: {title: '发票对象名',order: 3,view: 'text', type: 'string',},
  invoiceAmount: {title: '发票金额',order: 4,view: 'text', type: 'string',},
  productType: {title: '产品类别',order: 5,view: 'text', type: 'string',},
  productName: {title: '产品内容',order: 6,view: 'text', type: 'string',},
  invoiceFile: {title: '发票文件',order: 7,view: 'text', type: 'string',},

  invoiceCreater: {title: '开票人',order: 9,view: 'text', type: 'string',},
  isDeleted: {title: '逻辑删除',order: 10,view: 'text', type: 'string',},
};
